package com.phrp.dao;

import com.phrp.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.phrp.entity.vo.UserSearchDataVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ssc
 * @since 2024-04-20
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    LinkedList<User> selectSearchPage(UserSearchDataVo searchData);

    Integer selectTotalCount(UserSearchDataVo searchData);

    int updatePwdById(@Param("id") String id,@Param("password") String password);
}
